package cate.common.table.activity.happyflop.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("奖池")
public class HappyFlopRwdPoolRow extends ERow {

    @NoteField("奖励")
    public String rwdStr;

    @NoteField("权重")
    public double weight;

    @NoteField("奖池")
    public int pool;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.rwdStr = xrw.getString("奖励");
        this.weight = xrw.getDouble("权重", 0d);
        this.pool = xrw.getInteger("奖池", 0);
    }

}
